﻿




using Hotpot.Models;
using Hotpot.Modules.Membership.Models;

namespace Hotpot.Modules.Membership.Extensions
{
    public static class RoleExtensions
    {
        public static Role Apply(this Role role, RoleInput input)
        {
            return new Role(new Role(input.RoleGroupID), input.RoleType, role.ID, input.RoleName);
        }
    }
}
